package com.jumi.microservice.dto.reponse.api;

import com.jumi.microservice.enums.Level;
import com.jumi.microservice.enums.SexEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("登录返回结果")
public class LoginResponse {
    @ApiModelProperty(value = "会员id")
    private Integer uid;
    @ApiModelProperty(value = "会员昵称")
    private String name;
    @ApiModelProperty(value = "真实姓名")
    private String truename;
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value = "会员头像")
    private String avatar;
    @ApiModelProperty(value = "会员性别")
    private SexEnum sex;
    @ApiModelProperty(value = "token")
    private String token;
    @ApiModelProperty(value = "等级")
    private Level level;
    @ApiModelProperty(value = "wx_openid")
    private String wxOpenid;


    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public SexEnum getSex() {
        return sex;
    }

    public void setSex(SexEnum sex) {
        this.sex = sex;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Level getLevel() {
        return level;
    }

    public void setLevel(Level level) {
        this.level = level;
    }
}
